#{extends 'main.html' /}

<!--Page Title-->
<br /> <img src="/public/images/layout/header_search.jpg" />

<div class="title">Search Results: ${searchItems.size}</div>
	#{list items:searchItems, as:'searchItem'}
	<table>
		<tr>
			<td>
				<div class="bestseller">
					<a href="@{Search.searchDetails()}?itemID=${searchItem.itemId}"><img
						src="${searchItem.galleryURL}" /><br />
					<br /></a> <a
						href="@{Search.searchDetails()}?itemID=${searchItem.itemId}"><b>${searchItem.title}</b><br /></a>
					Buy It Now Price:${searchItem.listingInfo.buyItNowPrice.value.formatCurrency('USD').raw()}<br />
					Shipping Cost:${searchItem.shippingInfo.shippingServiceCost.value.formatCurrency('USD').raw()}<br />
				</div>
			</td>
		</tr>
	</table>
	#{/list}

#{else}No items on the list#{/else}
